package com.ygqh.baby.po;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class AdminMaterialDetailExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AdminMaterialDetailExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andContractCodeIsNull() {
            addCriterion("contract_code is null");
            return (Criteria) this;
        }

        public Criteria andContractCodeIsNotNull() {
            addCriterion("contract_code is not null");
            return (Criteria) this;
        }

        public Criteria andContractCodeEqualTo(String value) {
            addCriterion("contract_code =", value, "contractCode");
            return (Criteria) this;
        }

        public Criteria andContractCodeNotEqualTo(String value) {
            addCriterion("contract_code <>", value, "contractCode");
            return (Criteria) this;
        }

        public Criteria andContractCodeGreaterThan(String value) {
            addCriterion("contract_code >", value, "contractCode");
            return (Criteria) this;
        }

        public Criteria andContractCodeGreaterThanOrEqualTo(String value) {
            addCriterion("contract_code >=", value, "contractCode");
            return (Criteria) this;
        }

        public Criteria andContractCodeLessThan(String value) {
            addCriterion("contract_code <", value, "contractCode");
            return (Criteria) this;
        }

        public Criteria andContractCodeLessThanOrEqualTo(String value) {
            addCriterion("contract_code <=", value, "contractCode");
            return (Criteria) this;
        }

        public Criteria andContractCodeLike(String value) {
            addCriterion("contract_code like", value, "contractCode");
            return (Criteria) this;
        }

        public Criteria andContractCodeNotLike(String value) {
            addCriterion("contract_code not like", value, "contractCode");
            return (Criteria) this;
        }

        public Criteria andContractCodeIn(List<String> values) {
            addCriterion("contract_code in", values, "contractCode");
            return (Criteria) this;
        }

        public Criteria andContractCodeNotIn(List<String> values) {
            addCriterion("contract_code not in", values, "contractCode");
            return (Criteria) this;
        }

        public Criteria andContractCodeBetween(String value1, String value2) {
            addCriterion("contract_code between", value1, value2, "contractCode");
            return (Criteria) this;
        }

        public Criteria andContractCodeNotBetween(String value1, String value2) {
            addCriterion("contract_code not between", value1, value2, "contractCode");
            return (Criteria) this;
        }

        public Criteria andBatchIdIsNull() {
            addCriterion("batch_id is null");
            return (Criteria) this;
        }

        public Criteria andBatchIdIsNotNull() {
            addCriterion("batch_id is not null");
            return (Criteria) this;
        }

        public Criteria andBatchIdEqualTo(Long value) {
            addCriterion("batch_id =", value, "batchId");
            return (Criteria) this;
        }

        public Criteria andBatchIdNotEqualTo(Long value) {
            addCriterion("batch_id <>", value, "batchId");
            return (Criteria) this;
        }

        public Criteria andBatchIdGreaterThan(Long value) {
            addCriterion("batch_id >", value, "batchId");
            return (Criteria) this;
        }

        public Criteria andBatchIdGreaterThanOrEqualTo(Long value) {
            addCriterion("batch_id >=", value, "batchId");
            return (Criteria) this;
        }

        public Criteria andBatchIdLessThan(Long value) {
            addCriterion("batch_id <", value, "batchId");
            return (Criteria) this;
        }

        public Criteria andBatchIdLessThanOrEqualTo(Long value) {
            addCriterion("batch_id <=", value, "batchId");
            return (Criteria) this;
        }

        public Criteria andBatchIdIn(List<Long> values) {
            addCriterion("batch_id in", values, "batchId");
            return (Criteria) this;
        }

        public Criteria andBatchIdNotIn(List<Long> values) {
            addCriterion("batch_id not in", values, "batchId");
            return (Criteria) this;
        }

        public Criteria andBatchIdBetween(Long value1, Long value2) {
            addCriterion("batch_id between", value1, value2, "batchId");
            return (Criteria) this;
        }

        public Criteria andBatchIdNotBetween(Long value1, Long value2) {
            addCriterion("batch_id not between", value1, value2, "batchId");
            return (Criteria) this;
        }

        public Criteria andSkuCodeIsNull() {
            addCriterion("sku_code is null");
            return (Criteria) this;
        }

        public Criteria andSkuCodeIsNotNull() {
            addCriterion("sku_code is not null");
            return (Criteria) this;
        }

        public Criteria andSkuCodeEqualTo(String value) {
            addCriterion("sku_code =", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeNotEqualTo(String value) {
            addCriterion("sku_code <>", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeGreaterThan(String value) {
            addCriterion("sku_code >", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeGreaterThanOrEqualTo(String value) {
            addCriterion("sku_code >=", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeLessThan(String value) {
            addCriterion("sku_code <", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeLessThanOrEqualTo(String value) {
            addCriterion("sku_code <=", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeLike(String value) {
            addCriterion("sku_code like", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeNotLike(String value) {
            addCriterion("sku_code not like", value, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeIn(List<String> values) {
            addCriterion("sku_code in", values, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeNotIn(List<String> values) {
            addCriterion("sku_code not in", values, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeBetween(String value1, String value2) {
            addCriterion("sku_code between", value1, value2, "skuCode");
            return (Criteria) this;
        }

        public Criteria andSkuCodeNotBetween(String value1, String value2) {
            addCriterion("sku_code not between", value1, value2, "skuCode");
            return (Criteria) this;
        }

        public Criteria andCareLableAmountIsNull() {
            addCriterion("care_lable_amount is null");
            return (Criteria) this;
        }

        public Criteria andCareLableAmountIsNotNull() {
            addCriterion("care_lable_amount is not null");
            return (Criteria) this;
        }

        public Criteria andCareLableAmountEqualTo(Long value) {
            addCriterion("care_lable_amount =", value, "careLableAmount");
            return (Criteria) this;
        }

        public Criteria andCareLableAmountNotEqualTo(Long value) {
            addCriterion("care_lable_amount <>", value, "careLableAmount");
            return (Criteria) this;
        }

        public Criteria andCareLableAmountGreaterThan(Long value) {
            addCriterion("care_lable_amount >", value, "careLableAmount");
            return (Criteria) this;
        }

        public Criteria andCareLableAmountGreaterThanOrEqualTo(Long value) {
            addCriterion("care_lable_amount >=", value, "careLableAmount");
            return (Criteria) this;
        }

        public Criteria andCareLableAmountLessThan(Long value) {
            addCriterion("care_lable_amount <", value, "careLableAmount");
            return (Criteria) this;
        }

        public Criteria andCareLableAmountLessThanOrEqualTo(Long value) {
            addCriterion("care_lable_amount <=", value, "careLableAmount");
            return (Criteria) this;
        }

        public Criteria andCareLableAmountIn(List<Long> values) {
            addCriterion("care_lable_amount in", values, "careLableAmount");
            return (Criteria) this;
        }

        public Criteria andCareLableAmountNotIn(List<Long> values) {
            addCriterion("care_lable_amount not in", values, "careLableAmount");
            return (Criteria) this;
        }

        public Criteria andCareLableAmountBetween(Long value1, Long value2) {
            addCriterion("care_lable_amount between", value1, value2, "careLableAmount");
            return (Criteria) this;
        }

        public Criteria andCareLableAmountNotBetween(Long value1, Long value2) {
            addCriterion("care_lable_amount not between", value1, value2, "careLableAmount");
            return (Criteria) this;
        }

        public Criteria andCareLablePriceIsNull() {
            addCriterion("care_lable_price is null");
            return (Criteria) this;
        }

        public Criteria andCareLablePriceIsNotNull() {
            addCriterion("care_lable_price is not null");
            return (Criteria) this;
        }

        public Criteria andCareLablePriceEqualTo(BigDecimal value) {
            addCriterion("care_lable_price =", value, "careLablePrice");
            return (Criteria) this;
        }

        public Criteria andCareLablePriceNotEqualTo(BigDecimal value) {
            addCriterion("care_lable_price <>", value, "careLablePrice");
            return (Criteria) this;
        }

        public Criteria andCareLablePriceGreaterThan(BigDecimal value) {
            addCriterion("care_lable_price >", value, "careLablePrice");
            return (Criteria) this;
        }

        public Criteria andCareLablePriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("care_lable_price >=", value, "careLablePrice");
            return (Criteria) this;
        }

        public Criteria andCareLablePriceLessThan(BigDecimal value) {
            addCriterion("care_lable_price <", value, "careLablePrice");
            return (Criteria) this;
        }

        public Criteria andCareLablePriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("care_lable_price <=", value, "careLablePrice");
            return (Criteria) this;
        }

        public Criteria andCareLablePriceIn(List<BigDecimal> values) {
            addCriterion("care_lable_price in", values, "careLablePrice");
            return (Criteria) this;
        }

        public Criteria andCareLablePriceNotIn(List<BigDecimal> values) {
            addCriterion("care_lable_price not in", values, "careLablePrice");
            return (Criteria) this;
        }

        public Criteria andCareLablePriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("care_lable_price between", value1, value2, "careLablePrice");
            return (Criteria) this;
        }

        public Criteria andCareLablePriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("care_lable_price not between", value1, value2, "careLablePrice");
            return (Criteria) this;
        }

        public Criteria andBarAmountIsNull() {
            addCriterion("bar_amount is null");
            return (Criteria) this;
        }

        public Criteria andBarAmountIsNotNull() {
            addCriterion("bar_amount is not null");
            return (Criteria) this;
        }

        public Criteria andBarAmountEqualTo(Long value) {
            addCriterion("bar_amount =", value, "barAmount");
            return (Criteria) this;
        }

        public Criteria andBarAmountNotEqualTo(Long value) {
            addCriterion("bar_amount <>", value, "barAmount");
            return (Criteria) this;
        }

        public Criteria andBarAmountGreaterThan(Long value) {
            addCriterion("bar_amount >", value, "barAmount");
            return (Criteria) this;
        }

        public Criteria andBarAmountGreaterThanOrEqualTo(Long value) {
            addCriterion("bar_amount >=", value, "barAmount");
            return (Criteria) this;
        }

        public Criteria andBarAmountLessThan(Long value) {
            addCriterion("bar_amount <", value, "barAmount");
            return (Criteria) this;
        }

        public Criteria andBarAmountLessThanOrEqualTo(Long value) {
            addCriterion("bar_amount <=", value, "barAmount");
            return (Criteria) this;
        }

        public Criteria andBarAmountIn(List<Long> values) {
            addCriterion("bar_amount in", values, "barAmount");
            return (Criteria) this;
        }

        public Criteria andBarAmountNotIn(List<Long> values) {
            addCriterion("bar_amount not in", values, "barAmount");
            return (Criteria) this;
        }

        public Criteria andBarAmountBetween(Long value1, Long value2) {
            addCriterion("bar_amount between", value1, value2, "barAmount");
            return (Criteria) this;
        }

        public Criteria andBarAmountNotBetween(Long value1, Long value2) {
            addCriterion("bar_amount not between", value1, value2, "barAmount");
            return (Criteria) this;
        }

        public Criteria andBarPriceIsNull() {
            addCriterion("bar_price is null");
            return (Criteria) this;
        }

        public Criteria andBarPriceIsNotNull() {
            addCriterion("bar_price is not null");
            return (Criteria) this;
        }

        public Criteria andBarPriceEqualTo(BigDecimal value) {
            addCriterion("bar_price =", value, "barPrice");
            return (Criteria) this;
        }

        public Criteria andBarPriceNotEqualTo(BigDecimal value) {
            addCriterion("bar_price <>", value, "barPrice");
            return (Criteria) this;
        }

        public Criteria andBarPriceGreaterThan(BigDecimal value) {
            addCriterion("bar_price >", value, "barPrice");
            return (Criteria) this;
        }

        public Criteria andBarPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("bar_price >=", value, "barPrice");
            return (Criteria) this;
        }

        public Criteria andBarPriceLessThan(BigDecimal value) {
            addCriterion("bar_price <", value, "barPrice");
            return (Criteria) this;
        }

        public Criteria andBarPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("bar_price <=", value, "barPrice");
            return (Criteria) this;
        }

        public Criteria andBarPriceIn(List<BigDecimal> values) {
            addCriterion("bar_price in", values, "barPrice");
            return (Criteria) this;
        }

        public Criteria andBarPriceNotIn(List<BigDecimal> values) {
            addCriterion("bar_price not in", values, "barPrice");
            return (Criteria) this;
        }

        public Criteria andBarPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("bar_price between", value1, value2, "barPrice");
            return (Criteria) this;
        }

        public Criteria andBarPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("bar_price not between", value1, value2, "barPrice");
            return (Criteria) this;
        }

        public Criteria andStickerAmountIsNull() {
            addCriterion("sticker_amount is null");
            return (Criteria) this;
        }

        public Criteria andStickerAmountIsNotNull() {
            addCriterion("sticker_amount is not null");
            return (Criteria) this;
        }

        public Criteria andStickerAmountEqualTo(Long value) {
            addCriterion("sticker_amount =", value, "stickerAmount");
            return (Criteria) this;
        }

        public Criteria andStickerAmountNotEqualTo(Long value) {
            addCriterion("sticker_amount <>", value, "stickerAmount");
            return (Criteria) this;
        }

        public Criteria andStickerAmountGreaterThan(Long value) {
            addCriterion("sticker_amount >", value, "stickerAmount");
            return (Criteria) this;
        }

        public Criteria andStickerAmountGreaterThanOrEqualTo(Long value) {
            addCriterion("sticker_amount >=", value, "stickerAmount");
            return (Criteria) this;
        }

        public Criteria andStickerAmountLessThan(Long value) {
            addCriterion("sticker_amount <", value, "stickerAmount");
            return (Criteria) this;
        }

        public Criteria andStickerAmountLessThanOrEqualTo(Long value) {
            addCriterion("sticker_amount <=", value, "stickerAmount");
            return (Criteria) this;
        }

        public Criteria andStickerAmountIn(List<Long> values) {
            addCriterion("sticker_amount in", values, "stickerAmount");
            return (Criteria) this;
        }

        public Criteria andStickerAmountNotIn(List<Long> values) {
            addCriterion("sticker_amount not in", values, "stickerAmount");
            return (Criteria) this;
        }

        public Criteria andStickerAmountBetween(Long value1, Long value2) {
            addCriterion("sticker_amount between", value1, value2, "stickerAmount");
            return (Criteria) this;
        }

        public Criteria andStickerAmountNotBetween(Long value1, Long value2) {
            addCriterion("sticker_amount not between", value1, value2, "stickerAmount");
            return (Criteria) this;
        }

        public Criteria andStickerTypeIsNull() {
            addCriterion("sticker_type is null");
            return (Criteria) this;
        }

        public Criteria andStickerTypeIsNotNull() {
            addCriterion("sticker_type is not null");
            return (Criteria) this;
        }

        public Criteria andStickerTypeEqualTo(String value) {
            addCriterion("sticker_type =", value, "stickerType");
            return (Criteria) this;
        }

        public Criteria andStickerTypeNotEqualTo(String value) {
            addCriterion("sticker_type <>", value, "stickerType");
            return (Criteria) this;
        }

        public Criteria andStickerTypeGreaterThan(String value) {
            addCriterion("sticker_type >", value, "stickerType");
            return (Criteria) this;
        }

        public Criteria andStickerTypeGreaterThanOrEqualTo(String value) {
            addCriterion("sticker_type >=", value, "stickerType");
            return (Criteria) this;
        }

        public Criteria andStickerTypeLessThan(String value) {
            addCriterion("sticker_type <", value, "stickerType");
            return (Criteria) this;
        }

        public Criteria andStickerTypeLessThanOrEqualTo(String value) {
            addCriterion("sticker_type <=", value, "stickerType");
            return (Criteria) this;
        }

        public Criteria andStickerTypeLike(String value) {
            addCriterion("sticker_type like", value, "stickerType");
            return (Criteria) this;
        }

        public Criteria andStickerTypeNotLike(String value) {
            addCriterion("sticker_type not like", value, "stickerType");
            return (Criteria) this;
        }

        public Criteria andStickerTypeIn(List<String> values) {
            addCriterion("sticker_type in", values, "stickerType");
            return (Criteria) this;
        }

        public Criteria andStickerTypeNotIn(List<String> values) {
            addCriterion("sticker_type not in", values, "stickerType");
            return (Criteria) this;
        }

        public Criteria andStickerTypeBetween(String value1, String value2) {
            addCriterion("sticker_type between", value1, value2, "stickerType");
            return (Criteria) this;
        }

        public Criteria andStickerTypeNotBetween(String value1, String value2) {
            addCriterion("sticker_type not between", value1, value2, "stickerType");
            return (Criteria) this;
        }

        public Criteria andStickerPriceIsNull() {
            addCriterion("sticker_price is null");
            return (Criteria) this;
        }

        public Criteria andStickerPriceIsNotNull() {
            addCriterion("sticker_price is not null");
            return (Criteria) this;
        }

        public Criteria andStickerPriceEqualTo(BigDecimal value) {
            addCriterion("sticker_price =", value, "stickerPrice");
            return (Criteria) this;
        }

        public Criteria andStickerPriceNotEqualTo(BigDecimal value) {
            addCriterion("sticker_price <>", value, "stickerPrice");
            return (Criteria) this;
        }

        public Criteria andStickerPriceGreaterThan(BigDecimal value) {
            addCriterion("sticker_price >", value, "stickerPrice");
            return (Criteria) this;
        }

        public Criteria andStickerPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sticker_price >=", value, "stickerPrice");
            return (Criteria) this;
        }

        public Criteria andStickerPriceLessThan(BigDecimal value) {
            addCriterion("sticker_price <", value, "stickerPrice");
            return (Criteria) this;
        }

        public Criteria andStickerPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sticker_price <=", value, "stickerPrice");
            return (Criteria) this;
        }

        public Criteria andStickerPriceIn(List<BigDecimal> values) {
            addCriterion("sticker_price in", values, "stickerPrice");
            return (Criteria) this;
        }

        public Criteria andStickerPriceNotIn(List<BigDecimal> values) {
            addCriterion("sticker_price not in", values, "stickerPrice");
            return (Criteria) this;
        }

        public Criteria andStickerPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sticker_price between", value1, value2, "stickerPrice");
            return (Criteria) this;
        }

        public Criteria andStickerPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sticker_price not between", value1, value2, "stickerPrice");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}